package com.guigu.tms.commons.aggregation.feign;

import com.guigu.tms.commons.aggregation.entity.GoodsType;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "tms-aggregation",path = "/aggregation/goodsType",contextId = "goodsType")
public interface GoodsTypeFeignClient {
    @GetMapping("getGoodsType")
    List<GoodsType> getGoodsType();
}
